<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>名片制作</title>
    <style>
        .f{
            width: 350px;
            height: 433px;
            background: url(./img/file1.jpg) no-repeat;
            margin: 200px auto;

            position: relative;
        }

        /* 父相子绝 */
        .f .left{
            position: absolute;
            left: 0;
            bottom: 0;
            border-style: solid;
            border-width: 80px 150px;
            border-color: transparent transparent white white;
        }

        .f .right{
            position: absolute;
            right: -900px;
            bottom: 0;
            opacity: 0;
            border-style: solid;
            border-width: 80px 150px;
            border-color: transparent #008282 #008282 transparent;
            transition: all 1s linear;
        }

        .f:hover .right{
            right: 0;
            opacity: 1;
        }
    </style>
</head>
<body>
    <div class="f">
        <div class="left"></div>
        <div class="right"></div>
    </div>
</body>
</html>